/*
 * 数据区间判断（6分）
 */

#include <stdio.h>

int main() {
	setbuf(stdout, NULL);

	int n;

	printf("Please enter the number:\n");
	scanf("%d", &n);

	int temp = n, flag = 0;
	while (n > 0) {
		++flag;

		n /= 10;
	}

	switch (flag) {
		case 1:
			printf("%d: 0-9\n", temp);
			break;
		case 2:
			printf("%d: 10-99\n", temp);
			break;
		case 3:
			printf("%d: 100-999\n", temp);
			break;
		case 4:
			printf("%d: 1000-9999\n", temp);
			break;
		default:
			printf("error!\n");
			break;
	}

	return 0;
}